#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>

using namespace std;

vector<string> TokenizeLine(string line, string delimiters) {
    vector<string> output;    
    bool shouldBreak = false;
    string builtString ("");

    for (int i = 0; i < line.size(); i++) {
        for (int j = 0; j < delimiters.size(); j++) {
            if (line[i] == delimiters[j]) {
                shouldBreak = true;
            }
        }

        if (shouldBreak) {
            if (builtString.size() > 0) {
                output.push_back(builtString);
            }            
            builtString.clear();
            shouldBreak = false;
        }
        else {
            builtString = builtString + line[i];
        }
    }

    if (builtString.size() > 0) {
        output.push_back(builtString);
    }

    return output;
}


